﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using RobozzleModel;

public static class Queries
{
    public static IQueryable<LevelWithDifficulty> VisiblePuzzles(RobozzleEntities entities)
    {
        return entities.LevelWithDifficulty.Where(r => r.CoolnessVoteSum > StatsCommon.BAD_PUZZLE_THRESHOLD);
    }

}
